JavaScript Testing by Unknown

JavaScript Testing by Unknown
Author: Unknown
Language: eng
Format: epub
Publisher: Packt Publishing

Equivalence partitioning

Equivalence partition testing is a technique that divides a range of data into partitions from which test cases can be derived. For instance, for input boxes accepting a users' age, it should exhibit the following partition:

Note that only positive values are accepted for our example to read in a users' age, as a person's age should technically be positive. Therefore, any negative values are unacceptable values.

For the range that is less than -231 and larger than 231-1, it is asssumed that the integers can only hold values between -231 and 231-1 due to hardware and EMCA operator requirements.